package com.cardetective.shopcar.network.model

import android.os.Parcelable
import kotlinx.parcelize.Parcelize

data class OrderListModel(
    val current: Int,
    val pages: Int,
    val records: List<OrderRecord>,
    val size: Int,
    val total: Int
)

@Parcelize
data class OrderRecord(
//    val allowOperationVO: AllowOperationVO,
    val clientType: String?,
    val createTime: String?,
    val flowPrice: Float?,
    val memberName: String?,
    val orderItems: List<OrderGoodsItem>?,
    val orderStatus: String?,
    val orderType: String?,
    val payStatus: String?,
    val paymentMethod: String?,
    val paymentTime: String?,
    val sellerRemark: String?,
    val sn: String?,
    val storeId: String?,
    val storeName: String?
): Parcelable

@Parcelize
data class AllowOperationVO(
    val cancel: Boolean?,
    val editConsignee: Boolean?,
    val editPrice: Boolean?,
    val pay: Boolean?,
    val rog: Boolean?,
    val ship: Boolean?,
    val showLogistics: Boolean?,
    val take: Boolean?
): Parcelable

@Parcelize
data class OrderGoodsItem(
    val goodsId: String?,
    val goodsPrice: Float?,
    val image: String?,
    val isRefund: String?,
    val name: String?,
    val goodsName: String?,
    val num: String?,
    val refundPrice: String?,
    val skuId: String?,
    val sn: String?
): Parcelable